// layout组件相关配置仓库
import { defineStore } from "pinia"
import { ref } from "vue"

export const useLayoutSettingStore = defineStore("SettingStore", () => {
  // 用户控制菜单折叠还是收起的标志
  const fold = ref(false)
  // 监控用户有没有点击导航栏的刷新按钮
  const refresh = ref(false)

  return {
    fold,
    refresh,
  }
})
